﻿namespace ElectronicCommerce.Framework.TcpHelper
{
    /// <summary>
    /// IMessage Serializer
    /// </summary>
    public interface IMessageSerializer
    {
        byte[] Serialize(MessageInfo message);

        MessageInfo Deserialize(byte[] serializedMessage);
    }
}
